package com.encryption.model;

import java.util.Date;

/**
 * FileLog entity. @author MyEclipse Persistence Tools
 */

public class FileLog implements java.io.Serializable {

	// Fields

	private Integer id;
	private int user;
	private int file;
	private int fileAction;
	private Date time;

	private User userObj;
	private File fileObj;

	// Constructors

	/** default constructor */
	public FileLog() {
	}

	public FileLog(Integer id, int user, int file, int fileAction, Date time) {
		super();
		this.id = id;
		this.user = user;
		this.file = file;
		this.fileAction = fileAction;
		this.time = time;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getUser() {
		return user;
	}

	public void setUser(int user) {
		this.user = user;
	}

	public int getFile() {
		return file;
	}

	public void setFile(int file) {
		this.file = file;
	}

	public int getFileAction() {
		return fileAction;
	}

	public void setFileAction(int fileAction) {
		this.fileAction = fileAction;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public User getUserObj() {
		return userObj;
	}

	public void setUserObj(User userObj) {
		this.userObj = userObj;
	}

	public File getFileObj() {
		return fileObj;
	}

	public void setFileObj(File fileObj) {
		this.fileObj = fileObj;
	}

}